package com.linq.cool.beauty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linq.cool.beauty.domain.BeautyOrderEvaluation;

import java.util.List;

/**
 * @Author: yqlin
 * @Date: 2021/2/15 22:39
 * @Description:
 * @Version: 1.0.0
 */

public interface BeautyOrderEvaluationMapper extends BaseMapper<BeautyOrderEvaluation> {
    /**
     * 前台获取指定商品的评价信息
     *
     * @param productId
     *
     * @return
     */
    List<BeautyOrderEvaluation> listProductEvaluations(Long productId);
}